package com.xyc.cloud.cloudeureka.service;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Provider2Service {
    @RequestMapping("provider-msg")
    public String provideMsg(){
        System.out.println("服务提供者2");
        return "hello cloud!";
    }
}
